/**
 * eCommerce Application Sample for J2EE Training 
 * Implementation of ProductBean
 * @author Fabienne Boyer - Didier Donsez
 * may 2006
 */
package ecom.beans;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
public class ProductBean implements java.io.Serializable {

    @Id
    private ProductBean ProductBean;
    private String reference;
    private String category;
    private String name;
    private String description;

    public ProductBean() {
    }

    public ProductBean(String reference, String category, String name, String description) {
        super();
        this.reference = reference;
        this.category = category;
        this.name = name;
        this.description = description;

    }

    public ProductBean getProductBean() {
        return ProductBean;
    }

    public void setProductBean(ProductBean ProductBean) {
        this.ProductBean = ProductBean;
    }

    
    public String getReference() {
        return reference;
    }

    public void setReference(String reference) {
        this.reference = reference;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
